package com.mvp.networking;

/**
 * Created by zhangyuncai on 2019/11/13.
 */
public class CustomThrowable extends Throwable {
    private boolean isToast=true;

    public CustomThrowable(String message) {
        super(message);
    }

    public CustomThrowable(String message, boolean isToast) {
        super(message);
        this.isToast = isToast;
    }

    public boolean isToast() {
        return isToast;
    }
}
